package com.sxjh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sxjh.entity.Unlock;
import com.sxjh.entity.param.UnlockListParam;
import com.sxjh.entity.result.UnlockListResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 任务  Mapper 接口
 * </p>
 *
 * @author zixin
 * @since 2021-06-06
 */
public interface UnlockMapper extends BaseMapper<Unlock> {

    IPage<UnlockListResult> list(IPage iPage, @Param("param") UnlockListParam param);

    void receipt(@Param("ids") List<Integer> ids);

    void receiptAll();
}
